--- qmail-qmqpc.c	2012-02-18 19:32:24.000000000 +0000
+++ qmail-qmqpc.c.new	2012-02-18 19:34:03.000000000 +0000
@@ -235,18 +235,10 @@ char **argv;
   if (chdir(auto_qmail) == -1) die_home();
   if (control_init() == -1) die_control();
   if ( argv[1] ) {
-    char temp[IPFMT];
-    if (!stralloc_copys(&servers,argv[1])) nomem();
-    dns_init(0);
-    switch (dns_ip(&ia,&servers)) {
-      case DNS_HARD: die_perm();
-      case DNS_SOFT: die_temp();
-      case DNS_MEM: nomem();
-    }
-
-    temp[ip_fmt(temp,&ia.ix[0].ip)]=0;
-    if (!stralloc_copys(&servers, temp)) nomem();
-    if (!stralloc_0(&servers)) nomem();
+    getmess();
+    i = 1;
+    while (argv[i])
+      doit(argv[i++]);
   } else
   if (control_readfile(&servers,"control/qmqpservers",0) != 1) die_control();
 
